package demo08.Facade_pattern.entity;

/**
 * 爆米花机实体
 * 
 * */
public class PopcornPopper {
String description;
	
	public PopcornPopper(String description) {
		this.description = description;
	}
 
	public void on() {
		System.out.println(description + " 打开");
	}
 
	public void off() {
		System.out.println(description + " 关闭");
	}

	public void pop() {
		System.out.println(description + " 爆爆米花!");
	}
 
  
        public String toString() {
                return description;
        }
}
